package com.weidey.blog.domain;

import lombok.Getter;
import lombok.Setter;
import com.weidey.common.annotation.Excel;
import com.weidey.common.core.domain.TreeEntity;


/**
 * 博客评论对象 blog_comment
 * 
 * @author weidey
 */
@Setter
@Getter
public class Comment extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 评论父，pid:0:无回复 pid：id:有回复 */
    @Excel(name = "评论父，pid:0:无回复 pid：id:有回复")

    private Long pid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    /** 地区 */
    @Excel(name = "地区")
    private Long reignId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 头像 */
    @Excel(name = "头像")
    private String uAvatar;

    /** 评论的内容 */
    @Excel(name = "评论的内容")
    private String comment;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 回复对象 */
    @Excel(name = "回复对象")
    private String target;

    @Excel(name = "评论点赞量")
    private int likes;

}
